package com.example.chatweb.request;


//import java.util.List;

import java.util.List;

public class OpinionRequest {
    private String content;

    // Constructors
    public OpinionRequest() {}

//    public OpinionRequest(String content) {
//        this.content = content;
//    }

    // Getters and Setter
    public String getContent() { return content; }

    public void setContent(String content) { this.content = content; }


    // 处理用户输入关键词
    private List<String> topics;
    public OpinionRequest(String content, List<String> topics) {
        this.content = content;
        this.topics = topics;
    }
    public List<String> getTopics() { return topics; }

    public void setTopics(List<String> topics) { this.topics = topics; }
}
